package com.jx.gocomtask.webservice.DTO;

public enum TaskStatus {
	START{
		@Override
        public String getDesc() {
            return "未处理";
        }
        public String getDescTittle() {
            return "新任务提醒";
        }
    },
	RECEIVED{
		 @Override
            public String getDesc() {
                return "进行中";
            }
        public String getDescTittle() {
            return "任务进行中提醒";
        }
	},
	FINISHED{
		@Override
        public String getDesc() {
            return "已完成";
        }
        public String getDescTittle() {
            return "任务已完成提醒";
        }
	},
	REFUSE{
		@Override
        public String getDesc() {
            return "已拒绝";
        }
        public String getDescTittle() {
            return "任务已拒绝提醒";
        }
	},
	OVER{
		@Override
        public String getDesc() {
            return "已关闭";
        }
        public String getDescTittle() {
            return "任务已关闭提醒";
        }
	},
    DELETE{
        @Override
        public String getDesc() {
            return "已删除";
        }
        public String getDescTittle() {
            return "任务已删除提醒";
        }
    };
	public abstract String getDesc();
    public abstract String getDescTittle();
    public String getName(){
        return this.name();
    }
}
